package innerclass.a04demo4;

public class Test2 {
    public static void main(String[] args) {
        Swim s = new Swim() {

            @Override
            public void swim() {
                System.out.println("我会游泳");
            }
        };
        s.swim();
    }
}
